package decorativePattern;

public class DecorativePatternMain {

    public static void main(String[] args) {

        YangGuo yangGuo = new YangGuo();

        HongQiGong hongqigong = new HongQiGong(yangGuo);

        hongqigong.attackMagic();

        OuYangFeng ouYangFeng = new OuYangFeng(yangGuo);

        ouYangFeng.attackMagic();

    }

}
